package com.ruoyi.archive.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 因公牺牲军人遗属信息对象 s_family_of_duty_soldier
 *
 * @author Allen
 * @date 2021-09-30
 */
@Data
public class SFamilyOfDutySoldier implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联soldier_base_info */
    private Long soldierId;

    /** 与因公牺牲军人关系 */
    @Excel(name = "与因公牺牲军人关系")
    private Integer relation;

    /** 是否是持证人 */
    @Excel(name = "是否是持证人")
    private Integer isHolder;

    /** 因公牺牲军人证明书 */
    private String diedOnDutyCertificate;

    /** 因公牺牲军人证明书编号 */
    @Excel(name = "因公牺牲军人证明书编号")
    private String diedOnDutyCode;

    /** 孤老情况 */
    @Excel(name = "孤老情况")
    private Integer isLonely;

    /** 孤儿情况 */
    @Excel(name = "孤儿情况")
    private Integer isOrphan;

    /** 供养情况 */
    @Excel(name = "供养情况")
    private Integer supportSituation;

    /** 供养单位 */
    @Excel(name = "供养单位")
    private Integer supportUnit;

    /** 优抚待遇情况 */
    @Excel(name = "优抚待遇情况")
    private Integer careSituation;

    /** 享受待遇的证件 */
    private String treatmentCertificate;

    /** 现就业状况 */
    @Excel(name = "现就业状况")
    private Integer employmentSituation;

    /** 因公牺牲军人姓名 */
    @Excel(name = "因公牺牲军人姓名")
    private String soldierName;

    /** 因公牺牲军人性别 */
    @Excel(name = "因公牺牲军人性别")
    private Integer soldierSex;

    /** 因公牺牲军人出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "因公牺牲军人出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date soldierDate;

    /** 因公牺牲军人入伍时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "因公牺牲军人入伍时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date soldierEnlistedDate;

    /** 因公牺牲军人生前单位 */
    @Excel(name = "因公牺牲军人生前单位")
    private String soldierUnit;

    /** 牺牲日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "牺牲日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date soldierDeathDate;

    /** 认定因公牺牲的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认定因公牺牲的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluationDate;
}
